package py.com.alfa.escriba.web.rest.secure;

import javax.ws.rs.GET;
import javax.ws.rs.HeaderParam;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import py.com.alfa.escriba.exception.ServiceException;
import py.com.alfa.escriba.web.rest.EscribaService;
import py.com.alfa.escriba.web.rest.dto.UserResponseDTO;


@Path(EscribaService.SECURE_PATH + "/login")
public interface LoginSecureRESTService {
  
	@Path("/validUser")
	@GET
	@Produces(MediaType.APPLICATION_JSON)
	UserResponseDTO validUser(@HeaderParam("user")String userName, @HeaderParam("pwd")String clave) throws ServiceException;
}
